<?php

class PlaceProduct extends Eloquent{
	protected $table = 'place_products';

	public function placeType(){
		$placeType = $this->belongsTo('PlaceType', 'place_type_id');
		return $placeType;
	}

	public function availableAt(){
		$availableAt = $this->belongsToMany('PlaceInformation','place_information_has_place_product','place_product_id','place_information_id');
	}
}